<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>增删改</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	 <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
  
   <link rel="stylesheet" type="text/css" href="css/theme.css"> 
    <link rel="stylesheet" href="css/font-awesome.css">

    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>

    <!-- Demo page code -->

    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
        .button {
         background: transparent none repeat scroll 0 0;
         border: 1px solid #ddd;
         border-radius: 4px;
         display: inline-block;
         font-size: 14px;
         line-height: 20px;
         margin: 0;
         padding: 6px 15px;
         transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1) 0s;
         border-color: #0ae;
        }
        
        
    </style>
	
	

  </head>
  
  <body>
    <div class="navbar">
        <div class="navbar-inner">
           <a class="brand" href="${pageContext.request.contextPath }/UserServlet?method=state"><span class="first">改进后JDBC</span> </a>
        </div>
    </div>
    


    
    <div class="sidebar-nav">
        <a href="${pageContext.request.contextPath }/UserServlet?method=selectT10" class="nav-header" ><i class="icon-question-sign"></i>t10全表查询</a>
        <a href="${pageContext.request.contextPath }/UserServlet?method=selectT20" class="nav-header" ><i class="icon-question-sign"></i>t20全表查询</a>
        <a href="${pageContext.request.contextPath }/UserServlet?method=selectT30" class="nav-header" ><i class="icon-question-sign"></i>t30全表查询</a>
        <a href="${pageContext.request.contextPath }/UserServlet?method=selectT40" class="nav-header" ><i class="icon-question-sign"></i>t40全表查询</a>
        <a href="${pageContext.request.contextPath }/UserServlet?method=select_with_where" class="nav-header" ><i class="icon-comment"></i>缓存查询（带where条件）</a>
        <a href="${pageContext.request.contextPath }/right.jsp" class="nav-header" ><i class="icon-comment"></i>插入数据</a>
        <a href="${pageContext.request.contextPath }/update.jsp" class="nav-header" ><i class="icon-comment"></i>更新数据</a>
        <a href="${pageContext.request.contextPath }/delete.jsp" class="nav-header" ><i class="icon-comment"></i>删除数据</a>
         
    </div>
    
    <div class="content">
      <div class="header">
       <h1 class="page-title">插入数据</h1>
      </div>
       <form action="${pageContext.request.contextPath }/UserServlet?method=insert" method="post">
         <div style="padding:50px;">
         <span style="font-weight:bold;font-size:20px;padding-right:10px;">SQL语句</span>
         <input type="text" style="height:40px;width:600px;" id="name" name="sql"  placeholder="请输入SQL语句"  />
         <button type="submit" style="margin:10px;"  class="button bg-main">提交</button>
         </div>
        
        
       </form>
    
       
     </div>
    
     
  
  </body>
</html>
